package com.alibaba.dubbo.registry.common.domain;

/**
 * 访问实体
 * @author lry
 */
public class Access extends Entity {

	private static final long serialVersionUID = -962351722638094446L;
	/**服务名**/
	private String service;
	/**消费者地址**/
    private String address; 
    /**状态**/
    private boolean allow;
    /**用户名**/
    private String username;
    
    public Access() {}
    public Access(Long id) {
        super(id);
    }
    
	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public boolean isAllow() {
		return allow;
	}

	public void setAllow(boolean allow) {
		this.allow = allow;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
